package com.kgc.collection.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

public class BuyPayDetail {
    private int id;
    private String majorCode;
    private int accountId;


    private int typeId;
    private String typeName;

    private BigDecimal amount;
    private BigDecimal serviceAmount;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createDate;
    private int createId;
    private String createName;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date modiDate;
    private int modiId;
    private String modiName;

    private String info;

    @Override
    public String toString() {
        return "BuyPayDetail{" +
                "id=" + id +
                ", majorCode='" + majorCode + '\'' +
                ", accountId=" + accountId +
                ", typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", amount=" + amount +
                ", serviceAmount=" + serviceAmount +
                ", createDate=" + createDate +
                ", createId=" + createId +
                ", createName='" + createName + '\'' +
                ", modiDate=" + modiDate +
                ", modiId=" + modiId +
                ", modiName='" + modiName + '\'' +
                ", info='" + info + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMajorCode() {
        return majorCode;
    }

    public void setMajorCode(String majorCode) {
        this.majorCode = majorCode;
    }

    public int getAccountId() {
        return accountId;
    }

    public void setAccountId(int accountId) {
        this.accountId = accountId;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getServiceAmount() {
        return serviceAmount;
    }

    public void setServiceAmount(BigDecimal serviceAmount) {
        this.serviceAmount = serviceAmount;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public int getCreateId() {
        return createId;
    }

    public void setCreateId(int createId) {
        this.createId = createId;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getModiDate() {
        return modiDate;
    }

    public void setModiDate(Date modiDate) {
        this.modiDate = modiDate;
    }

    public int getModiId() {
        return modiId;
    }

    public void setModiId(int modiId) {
        this.modiId = modiId;
    }

    public String getModiName() {
        return modiName;
    }

    public void setModiName(String modiName) {
        this.modiName = modiName;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
